package com.ht.project.service;

import java.util.List;
import java.util.Map;

import com.ht.common.entity.PageInfo;
import com.ht.right.entity.ProamanageHeadModel;

public interface PromanageService {
	//添加项目立项
	public void addPromanage(ProamanageHeadModel proamanageHeadModel,String sameLevelNodeId) ;
	//通过项目立项id获取项目立项
	public ProamanageHeadModel findProamanageHeadModelById(String uuId);
	
	//获取全部的项目立项的list集合
	public List<ProamanageHeadModel> findAllProList();
	//获取某个部门下的所有子部门list集合
	public List<ProamanageHeadModel> findChildProList(ProamanageHeadModel proamanageHeadModel);
	
	//获取全部的项目立项json
	public List<Map<String,String>> findAllProsJson();
	//获取某个项目立项下的所有子部门list集合
	public List<Map<String,String>> findChildProJson(ProamanageHeadModel proamanageHeadModel);
	//根据指定的位置，更新项目立项
	public void updatePro(ProamanageHeadModel proamanageHeadModel,String sameLevelNodeId);
	//删除项目立项
	public void deletePro(ProamanageHeadModel proamanageHeadModel);
	//根据部门id删除项目立项
	public void deleteProById(String deptId);
	public Map<String, Object> findListByPromanageIdForPage(ProamanageHeadModel proamanageHeadModel, PageInfo pageInfo);
	public void save(ProamanageHeadModel proamanageHeadModel, String rightId);
}
